package pub.guoxin.oops.manager.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import pub.guoxin.oops.model.Group;

/**
 * Created by guoxin on 18-1-31.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GroupIdNameVo {
    private String id;
    private String name;

    public GroupIdNameVo(Group group){
        this.id = group.getId();
        this.name = group.getName();
    }
}
